package com.crazyhat.crazyhat.attribute;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 申请加入社团审核状态枚举
 */
@Getter
@AllArgsConstructor
public enum ApprovalStatusEnum implements IEnum<String> {

    Canceled("已取消"),
    InReview("审核中"),
    Accepted("已接受"),
    Rejected("被拒绝");

    @JsonValue
    private final String description;

    @Override
    public String getValue() {
        return this.description;
    }
}
